package com.ruoyi.stuinfo.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 沟通记录对象 edu_communication
 * 
 * @author zc
 * @date 2025-05-15
 */
public class EduCommunication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 教师ID */
    @Excel(name = "教师ID")
    private Long teacherId;

    /** 家长ID */
    private Long parentId;

    /** 沟通类型(电话/面谈/微信等) */
    @Excel(name = "沟通类型(电话/面谈/微信等)")
    private String communicationType;

    /** 沟通时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "沟通时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date communicationDate;

    /** 沟通内容 */
    @Excel(name = "沟通内容")
    private String content;

    /** 沟通结果 */
    @Excel(name = "沟通结果")
    private String result;

    /** 状态(0正常 1关闭) */
    @Excel(name = "状态(0正常 1关闭)")
    private String status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }

    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }

    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }

    public void setCommunicationType(String communicationType) 
    {
        this.communicationType = communicationType;
    }

    public String getCommunicationType() 
    {
        return communicationType;
    }

    public void setCommunicationDate(Date communicationDate) 
    {
        this.communicationDate = communicationDate;
    }

    public Date getCommunicationDate() 
    {
        return communicationDate;
    }

    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("teacherId", getTeacherId())
            .append("parentId", getParentId())
            .append("communicationType", getCommunicationType())
            .append("communicationDate", getCommunicationDate())
            .append("content", getContent())
            .append("result", getResult())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
